﻿using System;
using System.Collections.Generic;

namespace SilenthinkContract.Domain
{
    public class UserProfile : IEntity<int>
    {
        public int Id { get; set; }
        public string RealName { get; set; }
        public UserGender Gender { get; set; }
        public DateTime? Birthday { get; set; }
        public MaritalStatus MaritalStatus { get; set; }
        public string Avatar { get; set; }
        public string Phone { get; set; }
        public string Mobile { get; set; }
        public string AreaCode { get; set; }
        public string Address { get; set; }
        public static IDictionary<UserGender, string> UserGenderDic
        {
            get
            {
                var dic = new Dictionary<UserGender, string>();
                dic.Add(UserGender.Secrect, "保密");
                dic.Add(UserGender.Male, "男");
                dic.Add(UserGender.Female, "女");
                return dic;
            }
        }
        public static IDictionary<MaritalStatus, string> MaritalStatusDic
        {
            get
            {
                var dic = new Dictionary<MaritalStatus, string>();
                dic.Add(MaritalStatus.Secrect, "保密");
                dic.Add(MaritalStatus.Single, "未婚");
                dic.Add(MaritalStatus.Married, "已婚");
                return dic;
            }
        }
    }

}